<template>
  <a-form ref="formRef" :model="form" :rules="rules" layout="vertical">
    <a-row :gutter="20">
      <a-col :span="8">
        <a-form-item name="wiqManagerCode">
          <template #label>
            <span>
              煤场管理代码
              <a-tooltip v-if="false">
                <template #title></template>
                <QuestionCircleOutlined />
              </a-tooltip>
              <span>：</span>
            </span>
          </template>
          <dict-select v-model:value="form.wiqManagerCode" valueType="dictId" dictTypeId="1569699391469809666" placeholder="请选择" />            
        </a-form-item>
      </a-col>
      <a-col :span="8">
        <a-form-item name="wiqManagerHeightCode">
          <template #label>
            <span>
              煤场基础层高代码
              <a-tooltip v-if="false">
                <template #title></template>
                <QuestionCircleOutlined />
              </a-tooltip>
              <span>：</span>
            </span>
          </template>
          <dict-select v-model:value="form.wiqManagerHeightCode" valueType="dictId" dictTypeId="1569699391469809666" placeholder="请选择" />            
        </a-form-item>
      </a-col>
      <a-col :span="8">
        <a-form-item name="wiqMass">
          <template #label>
            <span>
              实际重量(t)
              <a-tooltip v-if="false">
                <template #title></template>
                <QuestionCircleOutlined />
              </a-tooltip>
              <span>：</span>
            </span>
          </template>
          <a-input v-model:value="form.wiqMass" allow-clear placeholder="请输入实际重量(t)" />           
        </a-form-item>
      </a-col>
      <a-col :span="8">
        <a-form-item name="wiqName">
          <template #label>
            <span>
              管理名称
              <a-tooltip v-if="false">
                <template #title></template>
                <QuestionCircleOutlined />
              </a-tooltip>
              <span>：</span>
            </span>
          </template>
          <a-input v-model:value="form.wiqName" allow-clear placeholder="请输入管理名称" />           
        </a-form-item>
      </a-col>
      <a-col :span="8">
        <a-form-item name="wiqCode">
          <template #label>
            <span>
              管理编码
              <a-tooltip v-if="false">
                <template #title></template>
                <QuestionCircleOutlined />
              </a-tooltip>
              <span>：</span>
            </span>
          </template>
          <a-input v-model:value="form.wiqCode" allow-clear placeholder="请输入管理编码" />           
        </a-form-item>
      </a-col>
      <a-col :span="8">
        <a-form-item name="remark">
          <template #label>
            <span>
              备注
              <a-tooltip v-if="false">
                <template #title></template>
                <QuestionCircleOutlined />
              </a-tooltip>
              <span>：</span>
            </span>
          </template>
          <a-input v-model:value="form.remark" allow-clear placeholder="请输入备注" />           
        </a-form-item>
      </a-col>
    </a-row>


  </a-form>
</template>

<script setup name="WmInventoryQtyForm">
import { reactive, ref } from 'vue';
import DictSelect from '@/components/DictSelect/DictSelect.vue';


const props = defineProps({
  // 表单数据
  form: Object
});

// 验证规则
const rules = reactive({
  wiqManagerCode: [{ required: true,  message: '请输入煤场管理代码', type: 'string', trigger: 'blur' }],
  wiqManagerHeightCode: [{ required: true,  message: '请输入煤场基础层高代码', type: 'string', trigger: 'blur' }],
});



defineExpose({
})
</script>

<style></style>
